<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  :title="dialogTitle" :visible.sync="showDialog" width="500px" :before-close="handleClose" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="isloading">
        <el-form ref="editForm" :model="form" label-width="120px" label-position="left">
            <el-form-item label="添加数额" prop="data"
                :rules="[{trigger: ['blur', 'change'] ,validator:function(rule, value, callback){validatorNumber(rule, value, callback)}}]">
                <el-input v-model="form.data" show-word-limit maxlength="10">
                </el-input>
            </el-form-item>
            <el-form-item label="说明" prop="message"
                :rules="{ trigger: ['blur', 'change'] ,required: true, message: '请填写说明'}">
                <el-input type="textarea" :autosize="{ minRows: 5}" placeholder="请输入内容" v-model="form.message"
                    maxlength="500" show-word-limit>
                </el-input>
            </el-form-item>
        </el-form>

    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="24">
                <el-button :disabled="isloading" @click="cancelDialog">取 消</el-button>
                <el-button :disabled="isloading" type="primary" @click="submit">确定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>